package com.zhifei.system.util.hly;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "汇联易获取token出参")
public class HlyAccessTokenResult implements Serializable {

    @ApiModelProperty(value = "获取到的凭证。长度为64至512个字节")
    String access_token;

    @ApiModelProperty(value = "凭证的有效时间（秒）")
    String expires_in;

    @ApiModelProperty(value = "凭证的类型")
    String token_type;

    @ApiModelProperty(value = "凭证的数据范围")
    String scope;

    @ApiModelProperty(value = "当前公司oid")
    String tenantId;

    @ApiModelProperty(value = "返回码")
    String errorCode = "0";

}
